package com.ruoyi.material_receive.mapper;

import java.util.List;
import com.ruoyi.material_receive.domain.MaterialReceive;
import org.apache.ibatis.annotations.Mapper;

/**
 * 物资领取Mapper接口
 * 
 * @author ruoyi
 * @date 2025-08-22
 */
@Mapper
public interface MaterialReceiveMapper 
{
    /**
     * 查询物资领取
     * 
     * @param receiveId 物资领取主键
     * @return 物资领取
     */
    public MaterialReceive selectMaterialReceiveByReceiveId(Long receiveId);

    /**
     * 查询物资领取列表
     * 
     * @param materialReceive 物资领取
     * @return 物资领取集合
     */
    public List<MaterialReceive> selectMaterialReceiveList(MaterialReceive materialReceive);

    /**
     * 新增物资领取
     * 
     * @param materialReceive 物资领取
     * @return 结果
     */
    public int insertMaterialReceive(MaterialReceive materialReceive);

    /**
     * 修改物资领取
     * 
     * @param materialReceive 物资领取
     * @return 结果
     */
    public int updateMaterialReceive(MaterialReceive materialReceive);

    /**
     * 删除物资领取
     * 
     * @param receiveId 物资领取主键
     * @return 结果
     */
    public int deleteMaterialReceiveByReceiveId(Long receiveId);

    /**
     * 批量删除物资领取
     * 
     * @param receiveIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteMaterialReceiveByReceiveIds(Long[] receiveIds);
}
